class UserInfoDataModel {
  UserInfoDataModel({
     this.image="",
     this.phone="",
     this.sex="",
     this.nickName="",
     this.shengri ="",
     this.signature = "",
     this.age =0,
  });
  late final String image;
  late final String phone;
  late final String sex;
  late final String nickName;
  late final String shengri;
  late final String signature;
  late final int age;

  UserInfoDataModel.fromJson(Map<String, dynamic> json){
    image = json['image']??"";
    phone = json['phone']??"";
    sex = json['sex'].toString();
    nickName = json['nickName']??"";
    shengri = json['shengri']??"";
    signature = json['signature']??"";
    age = json['age']??0;
  }

  Map<String, dynamic> toJson() {
    final _data = <String, dynamic>{};
    _data['image'] = image;
    _data['phone'] = phone;
    _data['sex'] = sex;
    _data['nickName'] = nickName;
    _data['shengri'] = shengri;
    _data['signature'] = signature;
    _data['age'] = age;
    return _data;
  }
}